-- GENERATED SPELL FOR [Venture Co. Supervisor] --


function spell0_2979(pUnit, Event) --@Battle Shout,Self--
pUnit:FullCastSpellOnTarget(6673,pUnit)
pUnit:RegisterEvent('Sorts_2979', 614, 1)
end

function Sorts_2979(pUnit, Event)
local choix_sorts_2979 = math.random(0, 0)
if choix_sorts_2979 == 0 then
pUnit:RegisterEvent('spell0_2979', 1, 1)
end
end

function mob2979_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2979', math.random(1500, 3000), 1)
end

function mob2979_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2979_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2979_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2979, 1, 'mob2979_Action')
RegisterUnitEvent(2979, 2, 'mob2979_Leave')
RegisterUnitEvent(2979, 3, 'mob2979_Kill')
RegisterUnitEvent(2979, 4, 'mob2979_Die')
